package com.wanxi.order.Controller;

import com.wanxi.order.entity.Result;
import com.wanxi.order.vo.CreatOrderVo;
import com.wanxi.order.vo.OrderVo;
import com.wanxi.order.vo.ShippingAddressVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/user/shippingAddress")
@RestController
@Api(tags = "收货地址接口")
public class ShippingAddressController {

    @ApiOperation("使用收货地址接口")
    @PostMapping("/useShippingAddress")
    public Result UseShippingAddress(@ApiParam("收货地址id") Integer ShippingAddressId){
        Result result = new Result();
        result.setCode(1);
        return result;
    }
}
